package com.huatai.bpmn.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * @Author: nzj
 * @Date: 2023/7/11 18:15
 */
@Data
@ApiModel(value = "返回任务流程的历史信息",description = "返回任务流程的历史信息")
public class HistoryVO {

	@ApiModelProperty("活动名称")
	private String activityName;

	@ApiModelProperty("办理人")
	private String assignee;

	@ApiModelProperty("实例id")
	private  String processInstanceId;

	@ApiModelProperty("开始时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
	private LocalDateTime startTime;

	@ApiModelProperty("结束时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private LocalDateTime endTime;

	@ApiModelProperty("节点名称")
	private String nodeForm;

	@ApiModelProperty("节点类型")
	private String actType;

	@ApiModelProperty("颜色")
	private String colour;

	@ApiModelProperty("任务id")
	private String taskId;

	@ApiModelProperty("审批建议")
	private String approvalProposal;

	@ApiModelProperty("审批结果")
	private String status;

	@ApiModelProperty("审批结果")
	private String deployId;
}
